{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/addons/builder/css/base.css" media="all">
<style>
    html {
        background-color: #f2f2f2 !important;
    }
    cite{
        color: #16baaa !important;
    }
</style>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space12">
        {foreach name="list" item="vo"}
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">📅 {$vo.title}</div>
                <div class="layui-card-body">
                    <div class="layui-carousel layadmin-carousel layadmin-backlog" lay-anim="" lay-indicator="inside"
                         lay-arrow="none" style="width: 100%; height: 280px;">
                        <div carousel-item="">
                            <ul class="layui-row layui-col-space12 layui-this">
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>昨日</h3>
                                        <p><cite>{$vo.title == "会员数"?intval($vo.yesterday):$vo.yesterday}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>上月</h3>
                                        <p><cite>{$vo.title == "会员数"?intval($vo.last_month):$vo.last_month}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>汇总</h3>
                                        <p><cite>{$vo.title == "会员数"?intval($vo.sum):$vo.sum}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>今日</h3>
                                        <p><cite>{$vo.title == "会员数"?intval($vo.today):$vo.today}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>本月</h3>
                                        <p><cite>{$vo.title == "会员数"?intval($vo.month):$vo.month}</cite></p>
                                    </a>
                                </li>
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>本年</h3>
                                        <p><cite>{$vo.title == "会员数"?intval($vo.year):$vo.year}</cite></p>
                                    </a>
                                </li>

                            </ul>

                        </div>
                    </div>
                </div>
            </div>
        </div>
        {/foreach}
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">📈 等级统计</div>
                <div class="layui-card-body">
                    <div class="layui-carousel layadmin-carousel layadmin-backlog" lay-anim="" lay-indicator="inside"
                         lay-arrow="none" style="width: 100%; height: 280px;">
                        <div carousel-item="">
                            <ul class="layui-row layui-col-space12 layui-this" style="margin-left: 0;">
                                {foreach name="level" item="vo"}
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>{$vo.title}</h3>
                                        <p><cite>{$vo.count}</cite></p>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>

                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">💰 账户统计</div>
                <div class="layui-card-body">
                    <div class="layui-carousel layadmin-carousel layadmin-backlog" lay-anim="" lay-indicator="inside"
                         lay-arrow="none" style="width: 100%; height: 280px;">
                        <div carousel-item="">
                            <ul class="layui-row layui-col-space12 layui-this" style="margin-left: 0;">
                                {foreach name="assets" item="vo"}
                                <li class="layui-col-xs4">
                                    <a href="javascript:;" class="layadmin-backlog-body">
                                        <h3>{$vo.title}</h3>
                                        <p><cite>{$vo.sum}</cite></p>
                                    </a>
                                </li>
                                {/foreach}
                            </ul>

                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

</div>

</body>
{include file="public/footer" /}
</html>